package com.zy.explore.demo.interfaces.feign.third;

import com.zy.explore.vo.ResultVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import javax.validation.Valid;
import java.util.List;

/**
 * description 患者用户数据Feign
 *
 * 中台用户域接口
 *
 * @author ZY
 * @date 2021年04月28日 16:32
 **/
@FeignClient(value = "WENWO-CLOUD-SP-DOMAIN-USER", path = "/user/v1/patient")
public interface PatientUserDataFeign {

    @PostMapping("/findFamilyMemberListByCodition")
    ResultVO<List<?>> getPatientProps(@RequestBody @Valid Object frm);

}
